From: kaf24@firebug.cl.cam.ac.uk Date: Mon, 19 Sep 2005 14:06:49 +0000 (+0000) Subject: Fix gdb build script. X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~16780^2~37^2~3 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=e8b6ab5acb1a0db13602c644d869cbd6108740b7;p=xen.git Fix gdb build script. --- diff --git a/.hgignore b/.hgignore index 765ce75534..4202cbd94c 100644 --- a/.hgignore +++ b/.hgignore @@ -86,6 +86,9 @@ ^tools/check/\..*$ ^tools/console/xenconsoled$ ^tools/console/xenconsole$ +^tools/debugger/gdb/gdb-6\.2\.1\.tar\.bz2$ +^tools/debugger/gdb/gdb-6\.2\.1/.*$ +^tools/debugger/gdb/gdb-6\.2\.1-linux-i386-xen/.*$ ^tools/debugger/pdb/pdb$ ^tools/debugger/pdb/linux-[0-9.]*-module/.*\.ko$ ^tools/debugger/pdb/linux-[0-9.]*-module/.*\.mod.c$ @@ -156,6 +159,7 @@ ^tools/xenstore/xs_stress$ ^tools/xenstore/xs_test$ ^tools/xenstore/xs_watch_stress$ +^tools/xentrace/xenctx$ ^tools/xentrace/xentrace$ ^xen/BLOG$ ^xen/TAGS$ diff --git a/tools/debugger/gdb/gdbbuild b/tools/debugger/gdb/gdbbuild index a202ebaacf..9b106971ea 100755 --- a/tools/debugger/gdb/gdbbuild +++ b/tools/debugger/gdb/gdbbuild @@ -1,20 +1,17 @@ #!/bin/sh -XENROOT=`hg root` -export XENROOT - -cd $XENROOT/tools/debugger/gdb -rm -rf gdb-6.2.1 gdb-6.2.1-linux-i386-xen -# FIXME:cw this should be smarter -wget -c ftp://ftp.gnu.org/gnu/gdb/gdb-6.2.1.tar.bz2 +rm -rf gdb-6.2.1 gdb-6.2.1-linux-i386-xen +[ -a gdb-6.2.1.tar.bz2 ] || wget -c ftp://ftp.gnu.org/gnu/gdb/gdb-6.2.1.tar.bz2 tar xjf gdb-6.2.1.tar.bz2 -cd $XENROOT/tools/debugger/gdb/gdb-6.2.1-xen-sparse +cd gdb-6.2.1-xen-sparse ./mkbuildtree ../gdb-6.2.1 -mkdir $XENROOT/tools/debugger/gdb/gdb-6.2.1-linux-i386-xen -cd $XENROOT/tools/debugger/gdb/gdb-6.2.1-linux-i386-xen +cd .. +mkdir gdb-6.2.1-linux-i386-xen +cd gdb-6.2.1-linux-i386-xen ../gdb-6.2.1/configure + # some people don't have gmake if which gmake ; then gmake -j4